<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>滚动</title>
    <link rel="stylesheet" href="./day6.css">
    <script src="./day6.js"></script>
</head>

<body>
    <h1 class="title">《前端小课》</h1>
    <div class="line"></div>
    <div id="nav-box">
        <span id="a">超越技术</span>
        <span id="b">数据结构</span>
        <span id="c">前端小课</span>
        <span id="d">知识小集</span>
        <span id="e">iOS开发</span>
        <span id="e">算法</span>
    </div>
    <div id="nav-box-1">
            <span id="a">超越技术</span>
            <span id="b">数据结构</span>
        </div>
    <div id="button" onclick="clickScroll()">点击滚动菜单</div>
</body>

</html>
